var index = require("./indexCtrl");
var express = require("express");
var r = express.Router();
// var fs = require("fs");

//乐友首页
r.get("/",index.index);
//乐友列表
r.get("/friendsList",index.friendsList);
//好友列表
r.post("/getFriendList",index.getFriendList);
//圈子列表
r.get("/circleList",index.circleList);
//获取圈子列表
r.post("/getCircleList",index.getCircleList);
//好友动态列表
r.post("/getFriendDynamic",index.getFriendDynamic);
//动态列表
r.get("/dynamicList",index.dynamicList);
//聊天页面
r.get("/chatPage",index.chatPage);
//圈子贴吧
r.get("/circleBar",index.circleBar);
//圈子详情
r.get("/circleInfo",index.circleInfo);
//通过圈子id 获取圈子信息
r.post("/getGroupInfo",index.getGroupInfo);
//通过用户id 加入圈子
r.post("/joinGroup",index.joinGroup);
//圈子广场
r.get("/circleSquare",index.circleSquare);
//乐友-圈子广场-圈子分类列表
r.post("/circleCategory",index.circleCategory);
//乐友-圈子广场-分类圈子列表
r.post("/circleCategoryList",index.circleCategoryList);
//圈子成员
r.get("/circleMember",index.circleMember);
//乐友-获取圈子成员信息
r.post("/getGroupMemberInfo",index.getGroupMemberInfo);
//乐友-修改圈子提醒
r.post("/updateGroupRemind",index.updateGroupRemind);
//圈子设置
r.get("/circleSetup",index.circleSetup);
//乐友-解散圈子
r.post("/dismissGroup",index.dismissGroup);
//乐友-踢出圈子
r.post("/kickOutGroup",index.kickOutGroup);
//圈子简介编辑
r.get("/abstractEdit",index.abstractEdit);
//乐友-修改圈子简介
r.post("/updateGroupIntroduction",index.updateGroupIntroduction);
//圈子商品
r.get("/circleProducts",index.circleProducts);
//更改发布频道
r.get("/changeChannel",index.changeChannel);
//乐友-修改所属频道
r.post("/updateGroupCategory",index.updateGroupCategory);
//帖子详情
r.get("/postDetails",index.postDetails);
//乐友-帖子详情
r.post("/getPost",index.getPost);
//乐友-帖子-评论列表
r.post("/getInfoPostCommentList",index.getInfoPostCommentList);
//乐友-帖子-获取评论回复列表
r.post("/getInfoPostCommentReplyList",index.getInfoPostCommentReplyList);
//乐友-帖子-评论点赞
r.post("/praisePostComment",index.praisePostComment);
//乐友-帖子-发表评论
r.post("/postComment",index.postComment);
//乐友-帖子-获取评论详情
r.post("/getInfoPostCommentByCommentId",index.getInfoPostCommentByCommentId);
//乐友-设置精选
r.post("/setSelected",index.setSelected);
//乐友-设置置顶
r.post("/setTop",index.setTop);
//乐友-设置公告
r.post("/setNotice",index.setNotice);
//乐友-点赞
r.post("/praisePost",index.praisePost);
//建立新圈子
r.get("/foundCircle",index.foundCircle);
//乐友-创建圈子
r.post("/createGroup",index.createGroup);
//发布帖子
r.get("/releasePost",index.releasePost);
//乐友-发布帖子
r.post("/savePost",index.savePost);
//乐友-退圈子
r.post("/quitGroup",index.quitGroup);
//乐友-修改圈子验证方式
r.post("/updateGroupValidate",index.updateGroupValidate);
//乐友-修改成员数量上线
r.get("/modifyNumber",index.modifyNumber);
//乐友-个人商品列表
r.post("/getProductList",index.getProductList);
//乐友-购买展位
r.post("/buyBooth",index.buyBooth);
//乐友-增加圈子商品
r.post("/addCircleProduct",index.addCircleProduct);
//乐友-删除圈子商品
r.post("/deleteCircleProduct",index.deleteCircleProduct);
//我的帖子
r.get("/myPost",index.myPost);
//乐友-我的帖子
r.post("/myPosts",index.myPosts);
//乐友-我的回帖
r.post("/myRepliesPosts",index.myRepliesPosts);
//乐友-删除帖子
r.post("/deletePost",index.deletePost);
//帖子回收站
r.get("/postRecycling",index.postRecycling);
//乐友-我的回收站帖子
r.post("/myDelPosts",index.myDelPosts);
//圈子通知
r.get("/circleNotice",index.circleNotice);
//我的点赞
r.get("/myPraiseForward",index.myPraiseForward);
//我的帖子转发通知
r.post("/myForwardPost",index.myForwardPost);
//我的帖子点赞通知
r.post("/myPraisePost",index.myPraisePost);
//聊天设置
r.get("/chatSettings",index.chatSettings);
//选择列表
r.get("/choiceList",index.choiceList);
//获取用户关系
r.post("/getUserRelationship",index.getUserRelationship);
//选择列表
r.get("/searchPage",index.searchPage);
//乐友-搜索
r.post("/search",index.search);
//乐友-搜索好友
r.post("/searchfriendList",index.searchfriendList);
//乐友-搜索圈子
r.post("/searchcircleList",index.searchcircleList);
//乐友-搜索未加入圈子
r.post("/searchcirclenotinList",index.searchcirclenotinList);
//转载帖子
r.get("/forward",index.forward);
//转载帖子结果页
r.get("/forwardResult",index.forwardResult);
//乐友-帖子分享
r.post("/forwardPost",index.forwardPost);
//乐友-帖子列表
r.post("/getCirclePost",index.getCirclePost);
//添加好友
r.get("/addFriend",index.addFriend);
//乐友-添加好友
r.post("/getAddFriend",index.getAddFriend);
module.exports = r;